<!DOCTYPE html>
<html>
  <head>
    <title>gitignore股票</title>
    <script type="text/javascript">
      function setCookie(cname,cvalue,exdays) {
        var d = new Date();
        d.setTime(d.getTime() + (exdays*24*60*60*1000));
        var expires = "expires=" + d.toGMTString();
        document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
      }
      function getCookie(cname) {
        var name = cname + "=";
        var decodedCookie = decodeURIComponent(document.cookie);
        var ca = decodedCookie.split(';');
        for(var i = 0; i < ca.length; i++) {
          var c = ca[i];
          while (c.charAt(0) == ' ') {
            c = c.substring(1);
          }
          if (c.indexOf(name) == 0) {
            return c.substring(name.length, c.length);
          }
        }
        return "";
      }
      function checkCookie() {
        var stock=getCookie("stock_value");
        if (stock != "") {
          alert("您的股票代码，" + stock);
        } else {
           stock = prompt("请输入gitignore股票代码","");
           if (stock != "" && stock = "0x00e0f2") {
             setCookie("stock_value", stock, 30);
           } else {
             alert("您输入错误");
             }
        }
      }
    </script>
  </head>
  <body onload="checkCookie()">
    <h1><span style="color: rgb(55, 200, 100);text-align: right;letter-spacing: 1.5px;">gitignore股票</span></h1>
    <hr/>
    <h3><a href="https://ljy-002.github.io/Web-gitignore.github.io/gitignore%E8%82%A1%E7%A5%A8%E4%BD%BF%E7%94%A8%E5%8D%8F%E8%AE%AE">gitignore股票使用协议</a></h3>
    <hr/>
    <h3><p>甲方：</p><p>gitignore</p></h3>
    <h3><p>代表人：</p><p>gitignore</p></h3>
    <h3><p>地址：</p><a href="https://ljy-002.github.io/Web-gitignore.github.io/gitignore%E8%82%A1%E7%A5%A8">gitignore-stock.io</a></h3>
    <h3><p>乙方：</p><p>GitHub</p></h3>
    <h3><p>代表人：</p><p>GitHub</p></h3>
    <h3><p>地址：</p><a href="https://github.com">github.com</a></h3>
    <b><p>联系邮箱：</p><p>ljy123ljy123@dingtalk.com</p></b>
  </body>
</html>
